{% extends "meetings/base_rooms_times.html" %}

{% block subsection %}

    <div class="module interim-container">
        <h2>Meeting - {{ meeting }}</h2>
        <h3>Session: {{ slot.name }}</h3>
        <form id="misc-session-edit-form" enctype="multipart/form-data" action="." method="post">{% csrf_token %}
            <table class="full-width amstable">
                <tbody>
                <!-- [html-validate-disable-block wcag/h63 -- FIXME: as_table renders without scope] -->
                {{ form.as_table }}
                </tbody>
            </table>

            <div class="button-group">
                <ul>
                    <li><button type="submit" name="submit" value="Save">Save</button></li>
                    <li><button type="submit" name="submit" value="Back">Back</button></li>
                </ul>
            </div> <!-- button-group -->

        </form>
    </div> <!-- module -->

{% endblock %}

{% block extrahead %}
  {{ block.super }}
  {{ form.media.js }}
{% endblock %}
{% block extrastyle %}
  {{ form.media.css }}
{% endblock %}